<!doctype html>
<html>
<head>
    <meta charset="utf-8" />
    <meta name="format-detection" content="telephone=no" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
	<meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="apple-mobile-web-app-status-bar-style" content="black" />
    <title>大匠员工定位系统</title>
    <link rel="stylesheet" href="css/base.css" type="text/css" />
    <link rel="stylesheet" href="css/style.css" type="text/css" />
</head>

<body class="bgc-fff">
<div class="c-main pb20">
	<div class="login-top">
        <img src="images/logo.png" />
        <h4>高端墙面基材系统提供商</h4>
    </div>
    <div class="login-div">
        <div class="prediv">
            <input type="text" placeholder="请输入内网用户名" class="login-text" />
        </div>
        <div class="prediv">
            <input type="password" placeholder="请输入密码" class="login-text" />
        </div>
        <div class="prediv">
            <input type="tel" placeholder="请输入验证码" class="login-text" />
            <a href="javascript:;" class="getcode">获取验证码</a>
        </div>
    </div>
    <div class="plr25 mt40">
        <a href="index.html" class="login-btn">立即登录</a>
    </div>
</div>
<div class="login-bot">
    <div>copyright © 2019 cndoer.com all right<br/> reserved</div>
</div>
<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/base.js"></script>
<script type="text/javascript">
$(function(){
	//获取验证码
    $('.getcode').on('click',function(){
        var disable = $(this).hasClass('disabled');
        if(!disable){
            $(this).addClass('disabled');
            settime();
        }
    });
});

var countdown=60; 
function settime() { 
    if (countdown == 0) { 
        $('.getcode').html('重新获取').removeClass('disabled'); 
        countdown = 60;
        return;
    } else {
        $('.getcode').html(countdown + 's后重试'); 
        countdown--; 
    } 
    setTimeout(function() { 
        settime();
    },1000) 
}
</script>
</body>
</html>